#!/bin/bash
docker ps | grep swarmpit_server > /dev/null
if [ $? -eq 0 ] ;then
  echo "当前节点是"
else
  echo "当前节点不是运行swarmpit_server的节点"
fi


